﻿@using HeyCoder.AspNetCore.Mvc.Pager;

<div class="row">
    @Html.Pager(new PagerOption() {
           DataCount = 100,
           PageSize = 10,
           PageIndex = 1,
           PageButtonCount=10,
           PagerClassName= "pager",
           CurrentPageClassName= "active",
           PrePageButtonText= "‹",
           NextPageButtonText= "›",
           PreGroupButtonText= "«",
           NextGroupButtonText = "»",
           FirstPageButtonText = "«",
           LastPageButtonText= "»",
           ShowPagerStatus= true,
           ShowPreNextPageButton=true,
           ShowFirstLastPageButton= true,
           ShowGotoPanel=false,
           ShowDataCount=true,
           CurrentPageInCenter=true,
           DataCountTextFormat="共{0}条数据",
           PagerStatusTextFormat= "共{1}页",
           PageIndexParamName = "pageindex"
       })
</div>